package com.zky;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * 
 */
@SpringBootApplication
@MapperScan("com.zky.mapper")
@EnableScheduling   //开启定时任务功能
@EnableSwagger2     //开启swagger2
// 启动类
public class ZBlogApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZBlogApplication.class,args);
    }
}